<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head> 
<!-- 内联样式 -->
<style> 
  .box {
    /* width: 500px; */
    /* height: 100px; */
    background-color: red;
    font-size: 50px; 
    /* 盒子阴影 */
    box-shadow: 2px 2px 3px rgba(172, 35, 35, 0.8);
    /* 文字阴影 */
    text-shadow: 2px 2px 3px rgba(172, 35, 35, 0.8);
    /* white-space: Wrap; */
    display: flex;
    justify-content: center;
  } 
  .item {
    flex: 1;
  }
</style>
<body>
  <!-- <div></div> -->
  <div class="box">
    <div class="item">你好齐程欢你好齐程欢你好齐程欢你好齐程欢你好齐程欢你好齐程欢你好齐程欢你好齐程欢你好齐程欢你好齐程欢你好齐程欢你好齐程欢你好齐程欢你好齐程欢</div>
  </div>
</body>
</html>